package com.ibm.cloud.banking.account.entity;

import java.sql.Date;
import java.sql.Timestamp;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

/**
 * replace desc in here
 *
 * @author HanDong
 * @date 2022/7/17
 */

@Data
@Entity
@Table(name = "account_open_close_detail")
public class AccountOpenCloseDetailEntity {
    @Basic
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Id
    private int id;
    @Basic
    @Column(name = "account_no")
    private String accountNo;
    @Basic
    @Column(name = "trans_type")
    private String transType;
    @Basic
    @Column(name = "trans_date")
    private Date transDate;
    @Basic
    @Column(name = "system_date")
    private Date systemDate;
    @Basic
    @Column(name = "trans_out_account_no")
    private String transOutAccountNo;
    @Basic
    @Column(name = "trans_out_account_name")
    private String transOutAccountName;
    @Basic
    @Column(name = "agent_name")
    private String agentName;
    @Basic
    @Column(name = "agent_id_type")
    private String agentIdType;
    @Basic
    @Column(name = "agent_id_no")
    private String agentIdNo;
    @Basic
    @Column(name = "agent_phone")
    private String agentPhone;
    @Basic
    @Column(name = "initiation_channel_no")
    private String initiationChannelNo;
    @Basic
    @Column(name = "access_channel_no")
    private String accessChannelNo;
    @Basic
    @Column(name = "trans_branch")
    private String transBranch;
    @Basic
    @Column(name = "trans_teller_id")
    private String transTellerId;
    @Basic
    @Column(name = "create_dt")
    private Timestamp createDt;
    @Basic
    @Column(name = "update_dt")
    private Timestamp updateDt;
    @Basic
    @Column(name = "sharding_id")
    private Integer shardingId;
}
